﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="PActivistEdit.aspx.cs" Inherits="Gmis.Web.Manage.Party.PActivistEdit" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
       <script type="text/javascript">
           function uploadifyComplete(event, queueId, fileObj, response, data) {
               //DWZ.ajaxDone(DWZ.jsonEval(response));
               var obj = DWZ.jsonEval(response);
               document.getElementById("idImg").src = obj.msg;
               document.getElementById("txt_sPicture").value = obj.msg;
           }
    </script> 
</head>
<body>
    <div class="pageContent">
        <form method="post" action="Party/PActivistHandler.ashx" class="pageForm required-validate" onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layoutH="56">

            <input type="hidden" name="txt_sId" value="<%=sId %>" />
            <input type="hidden" name="action" value="<%=action %>" />     
                <p>
                    <label>申请时间</label><input type="text" name="txt_dApply" class="required date" yearstart="-80" yearend="5" value="<%= model.dApply.ToString("yyyy-MM-dd") %>"/><a class="inputDateButton" href="javascript:;">选择</a>
                </p>  
                <p>
                    <label>培养开始时间</label><input type="text" name="txt_dFoster" class="required date" yearstart="-80" yearend="5" value="<%= model.dFoster.ToString("yyyy-MM-dd") %>"/><a class="inputDateButton" href="javascript:;">选择</a>
                </p>  
                <p>
                    <label>编号</label><input type="text" name="txt_sNumber" value="<%=model.sNumber %>" class="required" />
                </p>
                <p>
                    <label>姓名</label><input type="text" name="txt_sName" value="<%=model.sName %>" class="required" />
                </p>               
                <p>
                  <label>性别</label>
                  <select name="cbx_sSex" class="required combox">                        
                        <%= GetSexData(model.sSex) %>     
                  </select>
                </p>

                <p>
                    <label>年龄</label><input type="text" name="txt_nAge" class="" value="<%=model.nAge %>" class="digits"/>                 
                </p>

                <p>
                    <label>学历</label>
                    <select name="cbx_sEducation" class="required combox">                
                       <%= GetEducationData(model.sEducation) %>     
                    </select>                    
                </p>

                <p>
                    <label>参加工作时间</label><input type="text" name="txt_dJoinWork" class="required date" yearstart="-80" yearend="5" value="<%= model.dJoinWork.ToString("yyyy-MM-dd") %>"/><a class="inputDateButton" href="javascript:;">选择</a>
                </p>

                <p>
                    <label>工作单位</label><input type="text" name="txt_sWorkPlace" value="<%=model.sWorkPlace %>"/>
                </p>

                <p>
                    <label>职务</label><input type="text" name="txt_sPosition" value="<%=model.sPosition%>"/>                 
                </p>   

                <p>
                    <label>培养联系人一</label><input type="text" name="txt_sContact1" value="<%=model.sContact1%>"/>                 
                </p> 

                <p>
                    <label>培养联系人二</label><input type="text" name="txt_sContact2" value="<%=model.sContact2%>"/>                 
                </p>

                <p>
                    <label>党员推荐得票率</label><input type="text" name="txt_nPVotes" value="<%=model.nPVotes%>" class="number"/>                 
                </p> 

                <p>
                    <label>群众推荐得票率</label><input type="text" name="txt_nVVotes" value="<%=model.nVVotes%>" class="number"/>                 
                </p>
         
         </div>    
           
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent"><button type="submit">提交</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent"><button type="button" class="close">关闭</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
</body>
</html>
